// 封装交互反馈弹窗
class FeedBack{
	constructor(title, icon = "error") {
		this.title = title
		this.icon = icon
	}
	// 消息提示窗
	toast() {
		uni.showToast({
			title: this.title,
			icon: this.icon,
			duration: 800,
			mask: true
		});
	}
}

export {FeedBack}